
public class Chair {

	
	double height; //in yards
	boolean backed;
	double capacity; //in tonnes
	String name;
	
	
	Chair(double h, boolean b, double c, String n){
		height = h;
		backed = b;
		capacity = c;
		name = n;
	}
	
	
	
	boolean isBacked(){
		HelloWorld.f1();
		return backed;
	}
	
	/**
	 * This determines whether you can hold something.
	 * @param targetWeight 
	 * @return
	 */
	boolean canHold(double targetWeight){
		return targetWeight  > capacity;
		//evaluation steps:
		//1. 
	}

}
